package com.fingard.avatar.website.model.enums;

import lombok.Getter;

/**
 * @author 徐一涛
 * @date 2022/4/26
 */
@Getter
public enum ResultCode {
    /**
     * 错误码
     */
    SUCCESS("0"),
    BUSINESS_ERROR("1"),
    SYSTEM_EXCEPTION("2"),
    NOT_LOG_IN("3"),
    SESSION_TIMEOUT("4"),
    WITHOUT_RIGHT("5"),
    CONFIG_ERROR("6"),
    TOKEN_LOCKED("7"),
    PARAMS_ERROR("8");

    private final String value;
    ResultCode(String value) {
        this.value = value;
    }
}
